Telegram Group & Telegram Channel
Урок 5 (TypeScript)

Приведение типов, generics, custom type guards

В уроке рассмотрены основные способы приведения типов в TypeScripts для примитивных типов данных, а также представлены более сложные техники для работы с интерфейсами, классами и массивами. Также в уроке затронута тема дженериков и custom type guards

Ссылка на видео
Методичка в notion: Преобразование типов

Общая часть:
00:00 - что будем делать
00:35 - явное приведение типа
01:29 - создание скрипта для запуска в package.json
03:39 - как работает явное приведение типа
06:59 - альтернативный синтаксис явного приведения типа
09:26 - конвертация через функции

Для опытных:
15:00 - interface casting
18:16 - generics (шаблонные функции) в typescript
23:09 - class casting
27:08 - array casting
30:03 - custom type guards
33:14 - итоги

SemolinaCode | Chat | YouTube | Arbuzers | HowToCode | Prop



tg-me.com/semolina_code_python/108
Create:
Last Update:

Урок 5 (TypeScript)

Приведение типов, generics, custom type guards

В уроке рассмотрены основные способы приведения типов в TypeScripts для примитивных типов данных, а также представлены более сложные техники для работы с интерфейсами, классами и массивами. Также в уроке затронута тема дженериков и custom type guards

Ссылка на видео
Методичка в notion: Преобразование типов

Общая часть:
00:00 - что будем делать
00:35 - явное приведение типа
01:29 - создание скрипта для запуска в package.json
03:39 - как работает явное приведение типа
06:59 - альтернативный синтаксис явного приведения типа
09:26 - конвертация через функции

Для опытных:
15:00 - interface casting
18:16 - generics (шаблонные функции) в typescript
23:09 - class casting
27:08 - array casting
30:03 - custom type guards
33:14 - итоги

SemolinaCode | Chat | YouTube | Arbuzers | HowToCode | Prop

BY Semolina Code (Python / TypeScript)




Share with your friend now:
tg-me.com/semolina_code_python/108

View MORE
Open in Telegram


Semolina Code Python Telegram | DID YOU KNOW?

Date: |

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Semolina Code Python from it


Telegram Semolina Code (Python / TypeScript)
FROM USA